package com.zaoke.web.utils;

import java.text.DecimalFormat;

public class DoubleFormat {

	private static DecimalFormat df=new DecimalFormat("#.00"); ;
	
	public static Double format(Double input)
	{
		if(input!=null)
			return Double.valueOf(df.format(input));
		return 0.00;
	}
	
}
